package com.atomscat.lottery.entity.vo.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

@Setter
@Getter
@Schema(name = "AuthRequest", description = "Auth Request")
public class AuthRequest implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "username cannot be empty")
    @Schema(name = "username", description = "login id")
    private String username;

    @NotBlank(message = "password cannot be empty")
    @Schema(name = "password", description = "password")
    private String password;

}